package com.ssm.utils;


import org.springframework.context.annotation.Configuration;

@Configuration
public class JwtProperties {
    /** Request Headers ： Authorization */
    private String header="Authorization";

    /** Base64对该令牌进行编码 */
    private String base64Secret="meng";

    /** 令牌过期时间 此处单位/毫秒 */
    private Long tokenValidityInSeconds=14400000L;

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public String getBase64Secret() {
        return base64Secret;
    }

    public void setBase64Secret(String base64Secret) {
        this.base64Secret = base64Secret;
    }

    public Long getTokenValidityInSeconds() {
        return tokenValidityInSeconds;
    }

    public void setTokenValidityInSeconds(Long tokenValidityInSeconds) {
        this.tokenValidityInSeconds = tokenValidityInSeconds;
    }
}
